package com.mondo.financialwallet.presentation.ui.activity;

import android.content.Context;
import android.content.Intent;

import com.example.common.ui.BaseActivity;
import com.mondo.financialwallet.R;

public class TokenAddActivity extends BaseActivity {

//    @Bind(R.id.tool_bar_currency)
//    ToolBarLayout toolBarCurrency;
//    @Bind(R.id.recycle_view_currency)
//    RecyclerView recycleViewCurrency;
//    List<Token> dataList;

    public static void launch(Context context){
        context.startActivity(new Intent(context, TokenAddActivity.class));
    }

    @Override
    protected int getLayoutID() {
        return R.layout.activity_currency_add;
    }

    @Override
    protected void initActions() {
        //requestData();
//        LinearLayoutManager layout = new LinearLayoutManager(this,OrientationHelper.VERTICAL,false);
//        recycleViewCurrency.setLayoutManager(layout);
//        CurrencyAddAdapter adapter = new CurrencyAddAdapter(R.layout.recycle_view_currency_item, dataList);
//        recycleViewCurrency.setAdapter(adapter);
//        adapter.setOnLoadMoreListener(() -> {
//
//        },recycleViewCurrency);
    }

//    private void requestData() {
//        dataList = new ArrayList<>();
//        for (int i = 0 ; i < 40 ; i ++){
//            Token currency = new Token();
//            currency.setImgRes(R.mipmap.ic_launcher_round);
//            currency.setTitle("BTC"+i);
//            currency.setSubTitle("以太坊");
//            dataList.add(currency);
//        }
//    }

}
